package com.zpark.mapper;

import com.zpark.entity.Review;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReviewMapper {

    List<Review> findReviewByPid(@Param("pid") Integer pid);

    Integer insertReview(Review review);

    Integer deleteReviewByRid(@Param("rid") Integer rid);
}
